package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/7/11 10:32
 */
@Getter
@Setter
@Table(name = "t_icabinet_config")
@TableName(value = "t_icabinet_config")
public class IcabinetConfigEntity{


    /**
     * 主键
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 对应仓库id
     */
    @Column(name = "warehouse_id",type = MySqlTypeConstant.INT,length = 11)
    @TableField("warehouse_id")
    private Integer warehouseId;

    /**
     * 对应仓库名
     */
    @Column(name = "warehouse_name",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField("warehouse_name")
    private String warehouseName;

    /**
     * 对应标识码
     */
    @Column(name = "digest",type = MySqlTypeConstant.VARCHAR,length = 200)
    @TableField("digest")
    private String digest;

}
